20. sel instruction

你好。
Hello.

在本教程中,我们将学习细胞指令。
In this tutorial, we will learn cell instruction.

我们已经学习了之前讲座的数学指令,并根据数据注册数据(例如零或一),将输入写入每个输出中。
And we already learned previous lecture maths instruction and according to data registered data like a zero or one, the inputs was written in each output.

选择指令或学校选择指令。
The selection instruction or school selection instruction.

怎么运行的。
How it works.

现在,有些事情发生了变化。
Now, something has changed.

根据马克的指示记入马克。
According to Mark's instruction into the marks.

今天的数据寄存器中有零或一。
We have zero or one in today's data register.

但这里我们有一个位,零或一个数据意味着真或假。
But here we have a bit and zero or one data means true or false.

好的,我们先从这里的LDM零二开始,我在这里复制两个。
OK, let's start with the LDM zero two here, and I will copy two here.

我只插入四横线并输入,例如,二比二,二输入一是三千三百三十三。
And I will just insert just four horizontal line and input, for example, two to two and two input one is three thousand three hundred thirty three.

结果将被写入,例如,对不起。
And the result is going to be written into, for example, I'm sorry.

事情还好。
Something is OK.

然后将结果写入例如D0。
Then the result is written into, for example, D0.

好的,棒极了。
OK, very good.

让我们首先转换项目。
And let's convert the project firstly.

我将启动我的模拟器,为什么我们需要更多的选择指令,例如,第一个输入是我的手动数据,第二个输入是电机的自动速度,例如手动速度和自动速度。
And I will start my simulator why we need much more selection instructions, for example, the first input is my manual data and the second one is automatically speed of the motor, for example, manual speed and automatic speed.

所以根据HMO的选择,例如,从HMO,如果你要关闭,这是手动条件,这将像这样写入这里。
So according to this selection from the HMO, for example, from the HMO, if you are making it off, this is the manual condition and this will be written into here like that.

这是手册。
This is the manual.

如果切换为true,则表示这是自动控制,自动速度将写入此处。
And if this is switched to true, that means this is the automatic control and automatic speed is going to be written into here.

我们来测试一下。
Let's test it.

我去你的登记处浇水。
I will go to your register watering.

归零。
Go to zero.

我将其打开,然后如果关闭,您将看到 3333 被写入输出中。
I will make it on and then you will see 3333 is written into output if this is off.

让我们进入手动状态。
Let's go to manual condition.

这是。
And this is.

让我们去吧。
And let's go to.

自动条件,再次,这个,好的。
Automatic condition, again, this one, OK.

这就是为什么我们需要这些说明。
This is why we need to these instructions.

另外,我们该如何使用这个指令呢?
Also, this is how can we use this instruction?

这就是本教程的全部内容。
That's all for this tutorial.

我到这里就结束了。
I'm finished here.

社论见。
See you into an editorial.